

def common_assert1(resp,status_code,code,msg):
     assert status_code == resp.status_code
     assert code == resp.json().get("status")
     assert msg in resp.json().get("msg")